package com.itchu.system.service;

import com.itchu.common.domain.PageResult;
import com.itchu.system.domain.SysUser;
import com.itchu.system.dto.SysUserDto;
import org.springframework.security.core.userdetails.UserDetailsService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface SysUserService extends UserDetailsService {
    PageResult<SysUser> findByPage(String key, Integer page, Integer rows, String sortBy, Boolean desc);

    void deletSysUser(Long id);

    void updateSysUser(SysUser sysUser, List<Long> rids);

    SysUserDto findById(Long id);

    void addSysUser(SysUser sysUser, List<Long> rids);
}
